import './tables.css'
import React from 'react'
import TableController from '../widget/table_controller'
import DataTable from '../widget/data-tableEx'
import weAjax from '../utils/ajax';

const api = '/activity';


class Tables extends React.Component {

  constructor(props) {
    super(props);
    this.state = { routes: [] };
  }

  componentDidMount = () => {

  }

  componentWillUnmount = () => {
    if (this.ajax) this.ajax.abort();
  }

  render() {

    return (
      <div className="fadeIn">
        <h2>数据表下载</h2>
        <form>
          <div className="form-group">
            <label >Email address</label>
            <input type="email" className="form-control" id="exampleInputEmail1" placeholder="Email"></input>
          </div>
          <div className="form-group">
            <label >Password</label>
            <input type="password" className="form-control" id="exampleInputPassword1" placeholder="Password"></input>
          </div>
        </form>
      </div>
    )
  }

}

export default Tables;